<%@ include file="/WEB-INF/views/include.jsp" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>

<html>
<head>
  <title><fmt:message key="title"/></title>
</head>
<body>
<%@ include file="/WEB-INF/views/navbar.jsp" %>
<h1><fmt:message key="priceincrease.heading"/></h1>

	<c:if test="${not empty error}">
		<div class="errorblock">
			Error : <c:out value="${error}"/>
		</div>
	</c:if>

<form:form method="post" commandName="usuario">
  <table width="95%" bgcolor="f8f8ff" border="0" cellspacing="0" cellpadding="5">
    <tr>
        <td width="20%">
          <input name="nombre" placeholder="Nombre"/>
        </td>
		<td width="20%">
          <input name="mail" placeholder="e-mail"/>
        </td>
		<td width="20%">
          <input type="password" name="password" placeholder="Password"/>
        </td>
    </tr>
  </table>
  <br>
  <input type="submit" align="center" value="Registra">
</form:form>
</body>
</html>